grails.servlet.version = "3.0" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.work.dir = "target/work"
grails.project.target.level = 1.6
grails.project.source.level = 1.6
//grails.project.war.file = "target/${appName}-${appVersion}.war"

/*
grails.project.fork = [
    // configure settings for compilation JVM, note that if you alter the Groovy version forked compilation is required
    //  compile: [maxMemory: 256, minMemory: 64, debug: false, maxPerm: 256, daemon:true],

    // configure settings for the test-app JVM, uses the daemon by default
    test: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, daemon:true],
    // configure settings for the run-app JVM
    run: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false],
    // configure settings for the run-war JVM
    war: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false],
    // configure settings for the Console UI JVM
    console: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256]
]
*/

grails.project.dependency.resolver = "ivy" // or ivy
grails.project.dependency.resolution = {

	inherits("global") {}
    log "error"
    checksums true
    legacyResolve false

    repositories {
        inherits true

        grailsPlugins()
        grailsHome()
        mavenLocal()
        grailsCentral()
        mavenCentral()
		
        flatDir name : "localPlugins", dirs: 'E:/grails/projetos/feevale/plugins/'
    }

    dependencies {
		compile 'net.sf.opencsv:opencsv:2.3'
		compile ':insoft-custom-types:1.3'
//		compile ':joda-time:2.3'
		compile 'joda-time:joda-time:2.3'
		compile ':caelum-stella-core:1.2'
		
		compile 'org.jadira.usertype:usertype.jodatime:1.9.1'
    }

    plugins {
        build ':tomcat:7.0.52.1'
        runtime ':hibernate:3.6.10.9'
        runtime ':resources:1.2.7'

		compile ':cache:1.1.1'
		
		compile ':insoft-core:1.2.0'
//		compile ':insoft-ponto-objects:0.9'
//		compile ':insoft-db-objects:1.3.3'
		compile ':insoft-fw:0.5.1-RC1'
		compile ':insoft-ext-ui:0.3.1-RC1'

		compile ":spring-security-core:1.2.7.3"
		compile ":spring-security-ldap:1.0.6"
		
		compile (":dao-artefacts:0.4") {
			excludes 'svn'
		}
		
		compile(":mail:1.0.4") {
			excludes 'spring-test'
		}

		compile 'org.grails.plugins:gson:1.1.4'
		
		compile ":cookie:0.51"
		compile ":spock:0.7"
		
		compile (":platform-core:1.0.RC6") {
			excludes 'svn'
		}
    }
}
